﻿@model BDQN.WebApp.Areas.manage.Models.Roles.RolesAddViewModel
@{
    ViewBag.Title = "新增身份信息";
}
<div class="panel panel-headline">
    <div class="panel-heading">
        <h3 class="panel-title">新增身份信息</h3>
        <p class="panel-subtitle"></p>
    </div>
    <div class="panel-body">
        <div class="row" style="margin-bottom:5rem;">
            <div class="col-sm-10 col-sm-offset-1">
                <form action="/manage/RolesManager/Add" method="post">
                    <div class="form-group">
                        <label for="">身份名称</label>
                        @* @Html.TextBoxFor(m => m.Title, new { @class = "form-control" }) *@
                        <input asp-for="Title" class="form-control"/>
                        <span class="text-danger">
                            <!-- 获取验证失败信息的内容，我们也是通过html帮助标签来实现的  -->
                            @Html.ValidationMessageFor(m => m.Title)
                        </span>
                    </div>
                    <div class="form-group">
                        <button class="btn btn-primary">保存</button>
                        <button type="reset" class="btn btn-info">重置</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div> 